<tr id="entry-<%= entry.id %>">
  <td><%= entry.transaction_date.to_s(:long) %></td>
  <td>
    <%= h(entry.payee.name) %><br />
    <%= h(entry.category.full_name) %>
    <em><%= h(entry.memo) %></em>
  </td>
  <td>
  <%= link_to_remote(image_tag("cross.png", :size => "16x16"), {
        :url => hash_for_entry_url(:account => @account, :action => 'destroy', :id => entry.id),
        :confirm => "Are you sure?"}, {:class => 'edit-behavior', :style => 'visibility:hidden;'}) %>
  </td>
  <td><%= (entry.debit).format if entry.debit.cents > 0 %>&nbsp;</td>
  <td><%= (entry.credit).format if entry.credit.cents > 0 %>&nbsp;</td>
  <td>
    <strong><em>
      <%= entry.running_total.format if entry.running_total %>
    </em></strong>
  </td>
</tr>
